home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / news / inn-1.4-l / inn-1 / inn-1.4-linux-0.1 / config.data next >
Text File  |  1993-08-16  |  28KB  |  723 lines

  1. ##  $Revision: 1.40 $
  2. ##
  3. ##  InterNetNews configuration file.
  4. ##  Note that if you leave a field blank, you must have the trailing tab!
  5. ##
  6.  
  7.  
  8. ##
  9. ##  1.  MAKE CONFIG PARAMETERS
  10. ##  Where the DBZ sources are, from C News.  INN has a (maybe old) copy.
  11. #### =()<DBZDIR            @<DBZDIR>@>()=
  12. DBZDIR            ../dbz
  13. ##  If you have a parallel make, set this to "&"
  14. #### =()<P            @<P>@>()=
  15. P            
  16. ##  C pre-processor flags
  17. #### =()<DEFS            @<DEFS>@>()=
  18. DEFS            -I../include
  19. ##  C compiler
  20. #### =()<CC            @<CC>@>()=
  21. CC            gcc
  22. ##  Does your compiler properly do "char const *"? Pick DO DONT or DUNNO
  23. #### =()<USE_CHAR_CONST        @<USE_CHAR_CONST>@>()=
  24. USE_CHAR_CONST        DO
  25. ##  C compiler flags
  26. #### =()<CFLAGS            @<CFLAGS>@>()=
  27. CFLAGS            $(DEFS) -O -fomit-frame-pointer
  28. ##  C compiler flags to use when compiling dbz
  29. #### =()<DBZCFLAGS            @<DBZCFLAGS>@>()=
  30. DBZCFLAGS            $(CFLAGS)
  31. ##  What flags to use if profiling; -p or -pg, e.g.
  32. #### =()<PROF            @<PROF>@>()=
  33. PROF            -p
  34. ##  Flags for the "cc -o" line; e.g., -Bstatic on SunOS4.x while debugging.
  35. #### =()<LDFLAGS            @<LDFLAGS>@>()=
  36. LDFLAGS            -s -O
  37. ##  If you use the standard NNTP way of connecting, where is the library?
  38. #### =()<NNTPLIB        @<NNTPLIB>@>()=
  39. NNTPLIB        
  40. ##  If you need to link in other libraries, add them here
  41. #### =()<LIBS        @<LIBS>@>()=
  42. LIBS        
  43. ##  How to make a lint library; pick BSD, SYSV, or NONE.
  44. #### =()<LINTLIBSTYLE        @<LINTLIBSTYLE>@>()=
  45. LINTLIBSTYLE        NONE
  46. ##  Flags for lint.  AIX wants "-wkD"; it and others don't want "-z".
  47. #### =()<LINTFLAGS        @<LINTFLAGS>@>()=
  48. LINTFLAGS        
  49. ##  Some lints insist on putting out the filename and other crap.
  50. ##  Possible values:
  51. ##    LINTFILTER              | sed -n -f ../sedf.aix
  52. ##    LINTFILTER              | sed -n -f ../sedf.osx
  53. ##    LINTFILTER              | sed -n -f ../sedf.sun
  54. ##    LINTFILTER              | sed -n -f ../sedf.sysv
  55. ##    LINTFILTER              
  56. ####  =()<LINTFILTER        @<LINTFILTER>@>()=
  57. LINTFILTER        
  58. ##  How to install manpages; pick SOURCE, NROFF-PACK, NROFF-PACK-SCO, or NONE.
  59. #### =()<MANPAGESTYLE        @<MANPAGESTYLE>@>()=
  60. MANPAGESTYLE        SOURCE
  61. ##  Where various manpages should go
  62. #### =()<MAN1            @<MAN1>@>()=
  63. MAN1            /usr/local/man/man1
  64. #### =()<MAN3            @<MAN3>@>()=
  65. MAN3            /usr/local/man/man3
  66. #### =()<MAN5            @<MAN5>@>()=
  67. MAN5            /usr/local/man/man5
  68. #### =()<MAN8            @<MAN8>@>()=
  69. MAN8            /usr/local/man/man8
  70. ##  Ranlib command.  Use echo if you don't need ranlib.
  71. #### =()<RANLIB            @<RANLIB>@>()=
  72. RANLIB            ranlib
  73. ##  YACC (yet another config control?)
  74. #### =()<YACC            @<YACC>@>()=
  75. YACC            yacc
  76. ##  Ctags command.  Use echo if you don't have ctags.
  77. #### =()<CTAGS            @<CTAGS>@>()=
  78. CTAGS            echo
  79.  
  80.  
  81. ##
  82. ##  2.  LOGGING LEVELS
  83. ##  Facility innd should log under.
  84. #### =()<LOG_INN_SERVER        @<LOG_INN_SERVER>@>()=
  85. LOG_INN_SERVER        LOG_NEWS
  86. ##  Facility all other programs should log under.
  87. #### =()<LOG_INN_PROG        @<LOG_INN_PROG>@>()=
  88. LOG_INN_PROG        LOG_NEWS
  89. ##  Flags to use in opening the logs; some programs add LOG_PID.
  90. #### =()<L_OPENLOG_FLAGS        @<L_OPENLOG_FLAGS>@>()=
  91. L_OPENLOG_FLAGS        (LOG_CONS | LOG_NDELAY)
  92. ##  Log a fatal error; program is about to exit.
  93. #### =()<L_FATAL            @<L_FATAL>@>()=
  94. L_FATAL            LOG_CRIT
  95. ##  Log an error that might mean one or more articles get lost.
  96. #### =()<L_ERROR            @<L_ERROR>@>()=
  97. L_ERROR            LOG_ERR
  98. ##  Informational notice, usually not worth caring about.
  99. #### =()<L_NOTICE        @<L_NOTICE>@>()=
  100. L_NOTICE        LOG_WARNING
  101. ##  A protocol trace.
  102. #### =()<L_TRACE            @<L_TRACE>@>()=
  103. L_TRACE            LOG_DEBUG
  104. ##  All incoming control commands (ctlinnd, etc).
  105. #### =()<L_CC_CMD        @<L_CC_CMD>@>()=
  106. L_CC_CMD        LOG_INFO
  107.  
  108.  
  109. ##
  110. ##  3.  OWNERSHIPS AND FILE MODES
  111. ##  Owner of articles and directories and _PATH_INNDDIR
  112. #### =()<NEWSUSER            @<NEWSUSER>@>()=
  113. NEWSUSER            news
  114. ##  Group, for same purpose
  115. #### =()<NEWSGROUP        @<NEWSGROUP>@>()=
  116. NEWSGROUP        news
  117. ##  Who gets email about control messages? (Usually same as NEWSUSER)
  118. #### =()<NEWSMASTER        @<NEWSMASTER>@>()=
  119. NEWSMASTER        news
  120. ##  Who gets email on the Path line?
  121. #### =()<PATHMASTER        @<PATHMASTER>@>()=
  122. PATHMASTER        not-for-mail
  123. ##  Umask to set.
  124. #### =()<NEWSUMASK        @<NEWSUMASK>@>()=
  125. NEWSUMASK        02
  126. ##  Mode that incoming articles are created under.
  127. #### =()<ARTFILE_MODE        @<ARTFILE_MODE>@>()=
  128. ARTFILE_MODE        0664
  129. ##  Mode that batch files are created under.
  130. #### =()<BATCHFILE_MODE        @<BATCHFILE_MODE>@>()=
  131. BATCHFILE_MODE        0664
  132. ##  Mode that directories are created under.
  133. #### =()<GROUPDIR_MODE        @<GROUPDIR_MODE>@>()=
  134. GROUPDIR_MODE        0775
  135.  
  136.  
  137. ##
  138. ##  4.  C LIBRARY DIFFERENCES
  139. ##  Use stdargs, varargs, or neither?  Pick VARARGS STDARGS or NONE.
  140. ##  You need vfprintf and vfsprintf if not NONE.
  141. #### =()<VAR_STYLE        @<VAR_STYLE>@>()=
  142. VAR_STYLE        STDARGS
  143. ##  If you don't have <string.h>, set this to "mystring.h"
  144. #### =()<STR_HEADER        @<STR_HEADER>@>()=
  145. STR_HEADER        <string.h>
  146. ##  If you don't have <memory.h>, set this to "mymemory.h"
  147. #### =()<MEM_HEADER        @<MEM_HEADER>@>()=
  148. MEM_HEADER        <memory.h>
  149. ##  What is a file offset?  Usually long or off_t.  *Must be long for now!*
  150. #### =()<OFFSET_T            @<OFFSET_T>@>()=
  151. OFFSET_T            long
  152. ##  What is the type of an object size? Usually size_t or unsigned int.
  153. #### =()<SIZE_T            @<SIZE_T>@>()=
  154. SIZE_T            size_t
  155. ##  What is the type of a passwd uid and gid, for use in chown(2)?
  156. #### =()<UID_T            @<UID_T>@>()=
  157. UID_T            uid_t
  158. #### =()<GID_T            @<GID_T>@>()=
  159. GID_T            gid_t
  160. ##  Type of a pid, for use in kill(2).
  161. #### =()<PID_T            @<PID_T>@>()=
  162. PID_T            pid_t
  163. ##  Generic pointer, used by memcpy, malloc, etc.  Usually char or void.
  164. #### =()<POINTER            @<POINTER>@>()=
  165. POINTER            void
  166. ##  Worst-case alignment, in order to shut lint up
  167. #### =()<ALIGNPTR        @<ALIGNPTR>@>()=
  168. ALIGNPTR        int
  169. ##  What should a signal handler return?  Usually int or void.
  170. #### =()<SIGHANDLER        @<SIGHANDLER>@>()=
  171. SIGHANDLER        void
  172. ##  Type of variables can be modified in a signal handler? sig_atomic_t
  173. #### =()<SIGVAR        @<SIGVAR>@>()=
  174. SIGVAR        sig_atomic_t
  175. ##  Function that returns no value, and a pointer to it.  Pick int or void
  176. #### =()<FUNCTYPE        @<FUNCTYPE>@>()=
  177. FUNCTYPE        void
  178. ##  Use BSD4.2 or Posix directory names?  Pick DIRENT or DIRECT.
  179. #### =()<DIR_STYLE        @<DIR_STYLE>@>()=
  180. DIR_STYLE        DIRENT
  181. ##  Use flock, lockf, or nothing to lock files?
  182. ##  Pick FLOCK, LOCKF, FCNTL, or NONE
  183. #### =()<LOCK_STYLE        @<LOCK_STYLE>@>()=
  184. LOCK_STYLE        FLOCK
  185. ##  Do you have <unistd.h>?  Pick DO or DONT
  186. #### =()<HAVE_UNISTD    @<HAVE_UNISTD>@>()=
  187. HAVE_UNISTD    DO
  188. ##  Do you have setbuffer?  Pick DO or DONT.
  189. #### =()<HAVE_SETBUFFER        @<HAVE_SETBUFFER>@>()=
  190. HAVE_SETBUFFER        DO
  191. ##  Do you have gettimeofday?  Pick DO or DONT.
  192. #### =()<HAVE_GETTIMEOFDAY    @<HAVE_GETTIMEOFDAY>@>()=
  193. HAVE_GETTIMEOFDAY    DO
  194. ##  Do you have fchmod?  Pick DO or DONT.
  195. #### =()<HAVE_FCHMOD        @<HAVE_FCHMOD>@>()=
  196. HAVE_FCHMOD        DO
  197. ##  Do you have setsid()?  Pick DO or DONT.
  198. #### =()<HAVE_SETSID        @<HAVE_SETSID>@>()=
  199. HAVE_SETSID        DO
  200. ##  Does your (struct tm) have a tm_gmtoff field?  Pick DO or DONT.
  201. #### =()<HAVE_TM_GMTOFF        @<HAVE_TM_GMTOFF>@>()=
  202. HAVE_TM_GMTOFF        DONT
  203. ##  Does your (struct stat) have a st_blksize field?  Pick DO or DONT.
  204. #### =()<HAVE_ST_BLKSIZE        @<HAVE_ST_BLKSIZE>@>()=
  205. HAVE_ST_BLKSIZE        DO
  206. ##  Use waitpid instead of wait3?  Pick DO or DONT.
  207. #### =()<HAVE_WAITPID        @<HAVE_WAITPID>@>()=
  208. HAVE_WAITPID        DO
  209. ##  Use "union wait" instead of int?  Pick DO or DONT.
  210. #### =()<USE_UNION_WAIT        @<USE_UNION_WAIT>@>()=
  211. USE_UNION_WAIT        DONT
  212. ##  How to fork?  Pick fork or vfork.
  213. #### =()<FORK            @<FORK>@>()=
  214. FORK            fork
  215. ##  Do you have <vfork.h>?  Pick DO or DONT.
  216. #### =()<HAVE_VFORK        @<HAVE_VFORK>@>()=
  217. HAVE_VFORK        DONT
  218. ##  Do you have symbolic links?  Pick DO or DONT.
  219. #### =()<HAVE_SYMLINK        @<HAVE_SYMLINK>@>()=
  220. HAVE_SYMLINK        DO
  221. ##  Do you have Unix-domain sockets?  Pick DO or DONT.
  222. #### =()<HAVE_UNIX_DOMAIN    @<HAVE_UNIX_DOMAIN>@>()=
  223. HAVE_UNIX_DOMAIN    DONT
  224. ##  Does your AF_UNIX bind use sizeof for the socket size?  Pick DO or DONT.
  225. #### =()<BIND_USE_SIZEOF        @<BIND_USE_SIZEOF>@>()=
  226. BIND_USE_SIZEOF        DONT
  227. ##  How should close-on-exec be done?  Pick IOCTL or FCNTL.
  228. #### =()<CLX_STYLE        @<CLX_STYLE>@>()=
  229. CLX_STYLE        FCNTL
  230. ##  How should non-blocking I/O be done?  Pick IOCTL or FCNTL.
  231. #### =()<NBIO_STYLE        @<NBIO_STYLE>@>()=
  232. NBIO_STYLE        IOCTL
  233. ##  How should resource-totalling be done?  Pick RUSAGE or TIMES
  234. #### =()<RES_STYLE        @<RES_STYLE>@>()=
  235. RES_STYLE        RUSAGE
  236. ##  How to get number of available descriptors?
  237. ##  Pick GETDTAB, GETRLIMIT, SYSCONF, ULIMIT, or CONSTANT.
  238. ####  =()<FDCOUNT_STYLE        @<FDCOUNT_STYLE>@>()=
  239. FDCOUNT_STYLE        SYSCONF
  240. ##  If greater than -1, then use [gs]etrlimit to set that many descriptors.
  241. ##  If -1, then no [gs]etrlimit calls are done.
  242. #### =()<NOFILE_LIMIT        @<NOFILE_LIMIT>@>()=
  243. NOFILE_LIMIT        -1
  244. ##  Do you need <time.h> as well as <sys/time.h>?  Pick DO or DONT.
  245. #### =()<NEED_TIME        @<NEED_TIME>@>()=
  246. NEED_TIME        DONT
  247. ##  What predicate, if any, the <ctype.h> macros need
  248. #### =()<CTYPE            @<CTYPE>@>()=
  249. CTYPE            isXXXXX((c))
  250. #CTYPE            ((c) > 0 && isXXXXX((c)))
  251. #CTYPE            isXXXXX((c))
  252. ##  What's the return type of abort?  Usually int or void.
  253. #### =()<ABORTVAL        @<ABORTVAL>@>()=
  254. ABORTVAL        void
  255. ##  What's the return type of alarm?  Usually int or unsigned int.
  256. #### =()<ALARMVAL        @<ALARMVAL>@>()=
  257. ALARMVAL        unsigned int
  258. ##  What's the return type of getpid?  Usually int or unsigned int.
  259. #### =()<GETPIDVAL        @<GETPIDVAL>@>()=
  260. GETPIDVAL        pid_t
  261. ##  What's the return type of sleep?  Usually int or unsigned int.
  262. #### =()<SLEEPVAL        @<SLEEPVAL>@>()=
  263. SLEEPVAL        unsigned int
  264. ##  What's the return type of  qsort?  Usually int or void.
  265. #### =()<QSORTVAL        @<QSORTVAL>@>()=
  266. QSORTVAL        void
  267. ##  What's the return type of lseek?  Usually long or off_t.
  268. #### =()<LSEEKVAL        @<LSEEKVAL>@>()=
  269. LSEEKVAL        long
  270. ##  What's the return type of free?  Usually int or void.
  271. #### =()<FREEVAL            @<FREEVAL>@>()=
  272. FREEVAL            void
  273. ##  What's the return type of exit?  Usually int or void.
  274. ##  (For gcc (not pedantic ANSI) use "volatile void" in EXITVAL and _EXITVAL.)
  275. #### =()<EXITVAL            @<EXITVAL>@>()=
  276. EXITVAL            volatile void
  277. ##  What's the return type of _exit?  Usually int or void.
  278. #### =()<_EXITVAL        @<_EXITVAL>@>()=
  279. _EXITVAL        volatile void
  280.  
  281.  
  282. ##
  283. ##  5.  C LIBRARY OMISSIONS
  284. ##  Possible values:
  285. ##    MISSING_MAN        strcasecmp.3 syslog.3
  286. ##    MISSING_SRC        strcasecmp.c syslog.c strerror.c getdtab.c
  287. ##    MISSING_OBJ        strcasecmp.o syslog.o strerror.o getdtab.c
  288. ##  getdtab has a getdtablesize() routine if you need it; see the lib
  289. ##  directory and Install.ms for others.
  290. ##  OSx systems should add $(OSXATTOBJ) to MISSING_OBJ.
  291. #### =()<MISSING_MAN        @<MISSING_MAN>@>()=
  292. MISSING_MAN        
  293. #### =()<MISSING_SRC        @<MISSING_SRC>@>()=
  294. MISSING_SRC        
  295. #### =()<MISSING_OBJ        @<MISSING_OBJ>@>()=
  296. MISSING_OBJ        
  297.  
  298.  
  299. ##
  300. ##  6.  MISCELLANEOUS CONFIG DATA
  301. ##  Use read/write to update the active file, or mmap?  Pick READ or MMAP.
  302. #### =()<ACT_STYLE        @<ACT_STYLE>@>()=
  303. ACT_STYLE        READ
  304. ##  Do clients use our NNTP-server-open routine, or the one in NNTP?
  305. ##  INND is nicer, but you must install inn.conf files everywhere; NNTP
  306. ##  is better if you already have lots of /usr/lib/news/server files.
  307. ##  Pick INND or NNTP.
  308. #### =()<REM_STYLE        @<REM_STYLE>@>()=
  309. REM_STYLE        INND
  310. ##  Should rnews save articles that the server rejects?  Pick DO or DONT.
  311. #### =()<RNEWS_SAVE_BAD        @<RNEWS_SAVE_BAD>@>()=
  312. RNEWS_SAVE_BAD        DO
  313. ##  Should rnews log articles innd already has?  Pick SYSLOG, FILE, OR DONT.
  314. #### =()<RNEWS_LOG_DUPS        @<RNEWS_LOG_DUPS>@>()=
  315. RNEWS_LOG_DUPS        FILE
  316. ##  Look in _PATH_RNEWSPROGS for rnews unpackers?  Pick DO or DONT.
  317. #### =()<RNEWSPROGS        @<RNEWSPROGS>@>()=
  318. RNEWSPROGS        DO
  319. ##  Should rnews try the local host?  Pick DO or DONT.
  320. #### =()<RNEWSLOCALCONNECT        @<RNEWSLOCALCONNECT>@>()=
  321. RNEWSLOCALCONNECT        DO
  322. ##  Environment variable that has remote hostname for rnews.
  323. #### =()<_ENV_UUCPHOST        @<_ENV_UUCPHOST>@>()=
  324. _ENV_UUCPHOST        HOST
  325. ##  Require posts to have under 50% inclusion (">") lines?  Pick DO OR DONT.
  326. ##  (This is only for inews and nnrpd.)
  327. #### =()<CHECK_INCLUDED_TEXT        @<CHECK_INCLUDED_TEXT>@>()=
  328. CHECK_INCLUDED_TEXT        DONT
  329. ##  Put hosts in the inews Path header?  Pick DO or DONT.
  330. #### =()<INEWS_PATH        @<INEWS_PATH>@>()=
  331. INEWS_PATH        DO
  332. ##  Munge the gecos field of password entry?  Pick DO or DONT.
  333. #### =()<MUNGE_GECOS        @<MUNGE_GECOS>@>()=
  334. MUNGE_GECOS        DO
  335. ##  How many times to try to fork before giving up
  336. #### =()<MAX_FORKS        @<MAX_FORKS>@>()=
  337. MAX_FORKS        10
  338. ##  Largest acceptable article size; 0 allows any size
  339. #### =()<MAX_ART_SIZE        @<MAX_ART_SIZE>@>()=
  340. MAX_ART_SIZE        0
  341. ##  Value of dbzincore(FLAG) call in innd.  Pick 1 or 0.
  342. #### =()<INND_DBZINCORE        @<INND_DBZINCORE>@>()=
  343. INND_DBZINCORE        1
  344. ##  Should sub-processes get a nice(2) value?  Pick DO or DONT.
  345. #### =()<INND_NICE_KIDS        @<INND_NICE_KIDS>@>()=
  346. INND_NICE_KIDS        DONT
  347. ##  Value for nice(2) call in innd.
  348. #### =()<INND_NICE_VALUE    @<INND_NICE_VALUE>@>()=
  349. INND_NICE_VALUE    0
  350. ##  Null-terminated list of unknown commands to not log to syslog.
  351. ##    INND_QUIET_BADLIST    "xstream", "xfoo", NULL
  352. #### =()<INND_QUIET_BADLIST    @<INND_QUIET_BADLIST>@>()=
  353. INND_QUIET_BADLIST    NULL
  354. ##  Null-terminated set of illegal distribution patterns for local postings.
  355. #### =()<BAD_DISTRIBS    @<BAD_DISTRIBS>@>()=
  356. BAD_DISTRIBS    "*.*",NULL
  357. ##  Verify that the poster is the person doing the cancel?  Pick DO or DONT.
  358. #### =()<VERIFY_CANCELS        @<VERIFY_CANCELS>@>()=
  359. VERIFY_CANCELS        DONT
  360. ##  Log "ctlinnd cancel" commands to syslog?  Pick DO or DONT.
  361. #### =()<LOG_CANCEL_COMMANDS    @<LOG_CANCEL_COMMANDS>@>()=
  362. LOG_CANCEL_COMMANDS    DO
  363. ##  File unknown "to.*" groups into the "to" newsgroup?  Pick DO or DONT.
  364. #### =()<MERGE_TO_GROUPS        @<MERGE_TO_GROUPS>@>()=
  365. MERGE_TO_GROUPS        DONT
  366. ##  File articles in unknown newsgroups into junk?  Pick DO or DONT.
  367. #### =()<WANT_TRASH        @<WANT_TRASH>@>()=
  368. WANT_TRASH        DO
  369. ##  Record rejected articles in history?  Pick DO or DONT.
  370. #### =()<REMEMBER_TRASH        @<REMEMBER_TRASH>@>()=
  371. REMEMBER_TRASH        DONT
  372. ##  Check the linecount against the Lines header?  Pick DO or DONT.
  373. #### =()<CHECK_LINECOUNT        @<CHECK_LINECOUNT>@>()=
  374. CHECK_LINECOUNT        DONT
  375. ##  If checking, the error must be within LINECOUNT_FUZZ lines.
  376. ##  Five is number of .signature lines + 1.
  377. #### =()<LINECOUNT_FUZZ        @<LINECOUNT_FUZZ>@>()=
  378. LINECOUNT_FUZZ        5
  379. ##  Have innd throttle itself after this many I/O errors.
  380. #### =()<IO_ERROR_COUNT        @<IO_ERROR_COUNT>@>()=
  381. IO_ERROR_COUNT        50
  382. ##  Default value for ctlinnd -t flag; use 0 to wait and poll.
  383. #### =()<CTLINND_TIMEOUT        @<CTLINND_TIMEOUT>@>()=
  384. CTLINND_TIMEOUT        0
  385. ##  Flush logs if we go this long with no I/O.
  386. #### =()<DEFAULT_TIMEOUT        @<DEFAULT_TIMEOUT>@>()=
  387. DEFAULT_TIMEOUT        10
  388. ##  INND closes channel if inactive this long (seconds).
  389. #### =()<PEER_TIMEOUT        @<PEER_TIMEOUT>@>()=
  390. PEER_TIMEOUT        (1 * 60 * 60)
  391. ##  NNRP exits if inactive this long (seconds).
  392. #### =()<CLIENT_TIMEOUT        @<CLIENT_TIMEOUT>@>()=
  393. CLIENT_TIMEOUT        (2 * 60 * 60)
  394. ##  Allow nnrpd readers when paused or throttled?  Pick DO or DONT.
  395. #### =()<ALLOW_READERS        @<ALLOW_READERS>@>()=
  396. ALLOW_READERS        DO
  397. ##  Refuse newsreader connections if load is higher then this; -1 disables.
  398. #### =()<NNRP_LOADLIMIT        @<NNRP_LOADLIMIT>@>()=
  399. NNRP_LOADLIMIT        -1
  400. ##  Don't readdir() spool dir if same group within this many secs.
  401. #### =()<NNRP_RESCAN_DELAY        @<NNRP_RESCAN_DELAY>@>()=
  402. NNRP_RESCAN_DELAY        60
  403. ##  Do gethostbyaddr on client adresses in nnrp?   Pick DO or DONT.
  404. ##  (If DONT, then use only IP addresses in hosts.nnrp)
  405. #### =()<NNRP_GETHOSTBYADDR        @<NNRP_GETHOSTBYADDR>@>()=
  406. NNRP_GETHOSTBYADDR        DO
  407. ##  How many Message-ID retrievals until nnrpd does a dbzincore?  Set
  408. ##  to -1 to never do incore.
  409. #### =()<NNRP_DBZINCORE_DELAY        @<NNRP_DBZINCORE_DELAY>@>()=
  410. NNRP_DBZINCORE_DELAY        20
  411. ##  Strip Sender from posts that didn't authenticate?  Pick DO or DONT.
  412. #### =()<NNRP_AUTH_SENDER    @<NNRP_AUTH_SENDER>@>()=
  413. NNRP_AUTH_SENDER    DONT
  414. ##  How many read/write failures until channel is put to sleep or closed?
  415. #### =()<BAD_IO_COUNT        @<BAD_IO_COUNT>@>()=
  416. BAD_IO_COUNT        5
  417. ##  Multiplier for sleep in EWOULDBLOCK writes (seconds).
  418. #### =()<BLOCK_BACKOFF        @<BLOCK_BACKOFF>@>()=
  419. BLOCK_BACKOFF        (2 * 60)
  420. ##  How many article-writes between active and history updates?
  421. #### =()<ICD_SYNC_COUNT        @<ICD_SYNC_COUNT>@>()=
  422. ICD_SYNC_COUNT        10
  423. ##  Tell resolver _res.options to be fast?  Pick DO or DONT.
  424. #### =()<FAST_RESOLV        @<FAST_RESOLV>@>()=
  425. FAST_RESOLV        DONT
  426. ##  Drop articles that were posted this many days ago.
  427. #### =()<DEFAULT_CUTOFF        @<DEFAULT_CUTOFF>@>()=
  428. DEFAULT_CUTOFF        14
  429. ##  Maximum number of incoming NNTP connections.
  430. #### =()<DEFAULT_CONNECTIONS    @<DEFAULT_CONNECTIONS>@>()=
  431. DEFAULT_CONNECTIONS    16
  432. ##  Wait this many seconds before channel restarts.
  433. #### =()<CHANNEL_RETRY_TIME    @<CHANNEL_RETRY_TIME>@>()=
  434. CHANNEL_RETRY_TIME    (5 * 60)
  435. ##  Wait this many seconds before seeing if pause is ended.
  436. #### =()<PAUSE_RETRY_TIME    @<PAUSE_RETRY_TIME>@>()=
  437. PAUSE_RETRY_TIME    (5 * 60)
  438. ##  Wait this many seconds between noticing inactive channels.
  439. #### =()<CHANNEL_INACTIVE_TIME    @<CHANNEL_INACTIVE_TIME>@>()=
  440. CHANNEL_INACTIVE_TIME    (10 * 60)
  441. ##  Put nntplink info (filename) into the log?
  442. #### =()<NNTPLINK_LOG    @<NNTPLINK_LOG>@>()=
  443. NNTPLINK_LOG    DONT
  444. ##  Log by host IP address, rather than from Path line?
  445. #### =()<IPADDR_LOG    @<IPADDR_LOG>@>()=
  446. IPADDR_LOG    DONT
  447. ##  Log NNTP activity after this many articles.
  448. #### =()<NNTP_ACTIVITY_SYNC    @<NNTP_ACTIVITY_SYNC>@>()=
  449. NNTP_ACTIVITY_SYNC    50
  450. ##  Free buffers bigger than this when we're done with them.
  451. #### =()<BIG_BUFFER        @<BIG_BUFFER>@>()=
  452. BIG_BUFFER        (2 * START_BUFF_SIZE)
  453. ##  A general small buffer.
  454. #### =()<SMBUF            @<SMBUF>@>()=
  455. SMBUF            256
  456. ##  Buffer for a single article name.
  457. #### =()<MAXARTFNAME        @<MAXARTFNAME>@>()=
  458. MAXARTFNAME        10
  459. ##  Buffer for a single pathname in the spool directory.
  460. #### =()<SPOOLNAMEBUFF        @<SPOOLNAMEBUFF>@>()=
  461. SPOOLNAMEBUFF        512
  462. ##  Maximum size of a single header.
  463. #### =()<MAXHEADERSIZE        @<MAXHEADERSIZE>@>()=
  464. MAXHEADERSIZE        1024
  465. ##  Byte limit on locally-posted articles; 0 to disable the check.
  466. #### =()<LOCAL_MAX_ARTSIZE        @<LOCAL_MAX_ARTSIZE>@>()=
  467. LOCAL_MAX_ARTSIZE        0
  468. ##  Do you have uustat, or just uuq?  Pick DO or DONT
  469. #### =()<HAVE_UUSTAT        @<HAVE_UUSTAT>@>()=
  470. HAVE_UUSTAT        DO
  471.  
  472.  
  473. ##
  474. ##  7.  PATHS TO COMMON PROGRAMS
  475. ##  Where the raison d'etre for this distribution lives.
  476. #### =()<_PATH_INND        @<_PATH_INND>@>()=
  477. _PATH_INND        /usr/lib/news/etc/innd
  478. ##  Where the optional front-end that exec's innd lives.
  479. #### =()<_PATH_INNDSTART        @<_PATH_INNDSTART>@>()=
  480. _PATH_INNDSTART        /usr/lib/news/etc/inndstart
  481. ##  Where news boot-up script should be installed.
  482. #### =()<_PATH_NEWSBOOT        @<_PATH_NEWSBOOT>@>()=
  483. _PATH_NEWSBOOT        /usr/lib/news/etc/rc.news
  484. ##  Where sendmail, or a look-alike, lives.
  485. ##  The -t is optional and says to read message for recipients
  486. #### =()<_PATH_SENDMAIL        @<_PATH_SENDMAIL>@>()=
  487. _PATH_SENDMAIL        /usr/lib/sendmail -t
  488. ##  Where the shell is.
  489. #### =()<_PATH_SH        @<_PATH_SH>@>()=
  490. _PATH_SH        /bin/sh
  491. ##  Where the compress program lives.
  492. #### =()<_PATH_COMPRESS        @<_PATH_COMPRESS>@>()=
  493. _PATH_COMPRESS        /usr/bin/gzip
  494. ##  What extension your compress appends
  495. #### =()<_PATH_COMPRESSEXT    @<_PATH_COMPRESSEXT>@>()=
  496. _PATH_COMPRESSEXT    .gz
  497. ##  Where egrep lives (you might need the FSF one; see scanlogs)
  498. #### =()<_PATH_EGREP        @<_PATH_EGREP>@>()=
  499. _PATH_EGREP        /usr/bin/egrep
  500. ##  Where awk lives
  501. #### =()<_PATH_AWK        @<_PATH_AWK>@>()=
  502. _PATH_AWK        awk
  503. ##  Where sed lives (you might need the FSF one)
  504. #### =()<_PATH_SED        @<_PATH_SED>@>()=
  505. _PATH_SED        sed
  506. ##  Where inews lives.
  507. #### =()<_PATH_INEWS        @<_PATH_INEWS>@>()=
  508. _PATH_INEWS        /usr/lib/news/inews
  509. ##  Where rnews lives.
  510. #### =()<_PATH_RNEWS        @<_PATH_RNEWS>@>()=
  511. _PATH_RNEWS        /usr/lib/news/rnews
  512. ##  Where the NNRP server lives.
  513. #### =()<_PATH_NNRPD        @<_PATH_NNRPD>@>()=
  514. _PATH_NNRPD        /usr/lib/news/etc/in.nnrpd
  515. ##  The path of the process run when an unknown host connects to innd.
  516. ##  Usually the same as _PATH_NNRPD, but may be, e.g., the path to
  517. ##  nntpd from the reference implementation.
  518. #### =()<_PATH_NNTPD        @<_PATH_NNTPD>@>()=
  519. _PATH_NNTPD        /usr/lib/news/etc/in.nnrpd
  520. ##  Where the NNQR server lives.  Make same as _PATH_NNRPD for now
  521. #### =()<_PATH_NNQRD        @<_PATH_NNRPD>@>()=
  522. _PATH_NNQRD        /usr/lib/news/etc/in.nnrpd
  523. ##  Where most other programs live.
  524. ##  See also _PATH_RNEWSPROGS and _PATH_CONTROLPROGS, below.
  525. #### =()<_PATH_NEWSBIN        @<_PATH_NEWSBIN>@>()=
  526. _PATH_NEWSBIN        /usr/lib/news/bin
  527. ##  Where temporary files live on the server
  528. #### =()<_PATH_TMP        @<_PATH_TMP>@>()=
  529. _PATH_TMP        /tmp
  530. ##  Command to send mail (with -s "subject" allowed)
  531. #### =()<_PATH_MAILCMD        @<_PATH_MAILCMD>@>()=
  532. _PATH_MAILCMD        /bin/mail
  533. ##  Where scripts should have shlock create locks.
  534. #### =()<_PATH_LOCKS        @<_PATH_LOCKS>@>()=
  535. _PATH_LOCKS        /usr/lib/news
  536.  
  537.  
  538. ##
  539. ##  8.  PATHS RELATED TO THE SPOOL DIRECTORY
  540. ##  Spool directory, where articles live.
  541. #### =()<_PATH_SPOOL        @<_PATH_SPOOL>@>()=
  542. _PATH_SPOOL        /usr/spool/news
  543. ##  Spool directory where overview data lives.
  544. #### =()<_PATH_OVERVIEWDIR        @<_PATH_OVERVIEWDIR>@>()=
  545. _PATH_OVERVIEWDIR        /usr/spool/news
  546. ##  Name of overview file within its spool directory.
  547. #### =()<_PATH_OVERVIEW        @<_PATH_OVERVIEW>@>()=
  548. _PATH_OVERVIEW        .overview
  549. ##  Where rnews spools its input.
  550. #### =()<_PATH_SPOOLNEWS        @<_PATH_SPOOLNEWS>@>()=
  551. _PATH_SPOOLNEWS        /usr/spool/news/in.coming
  552. ##  Where rnews creates temporary files until finished
  553. #### =()<_PATH_SPOOLTEMP        @<_PATH_SPOOLTEMP>@>()=
  554. _PATH_SPOOLTEMP        /usr/spool/news/in.coming/tmp
  555. ##  Where rnews puts bad input.
  556. #### =()<_PATH_BADNEWS        @<_PATH_BADNEWS>@>()=
  557. _PATH_BADNEWS        /usr/spool/news/in.coming/bad
  558. ##  Where rnews puts bad input, relative to _PATH_SPOOLNEWS.
  559. #### =()<_PATH_RELBAD        @<_PATH_RELBAD>@>()=
  560. _PATH_RELBAD        bad
  561.  
  562.  
  563. ##
  564. ##  9.  EXECUTION PATHS FOR INND AND RNEWS
  565. ##  Pathname where dups are logged if RNEWS_LOG_DUPS is FILE.
  566. #### =()<_PATH_RNEWS_DUP_LOG        @<_PATH_RNEWS_DUP_LOG>@>()=
  567. _PATH_RNEWS_DUP_LOG        /dev/null
  568. ##  Rnews may execute any program in this directory; see RNEWSPROGS.
  569. #### =()<_PATH_RNEWSPROGS    @<_PATH_RNEWSPROGS>@>()=
  570. _PATH_RNEWSPROGS    /usr/lib/news/bin/rnews
  571. ##  Path to control messages scripts.
  572. #### =()<_PATH_CONTROLPROGS    @<_PATH_CONTROLPROGS>@>()=
  573. _PATH_CONTROLPROGS    /usr/lib/news/bin/control
  574. ##  Default "unknown/illegal" control script, within _PATH_CONTROLPROGS.
  575. #### =()<_PATH_BADCONTROLPROG    @<_PATH_BADCONTROLPROG>@>()=
  576. _PATH_BADCONTROLPROG    default
  577.  
  578.  
  579. ##
  580. ##  10.  SOCKETS CREATED BY INND OR CLIENTS
  581. #### =()<_PATH_INNDDIR        @<_PATH_INNDDIR>@>()=
  582. _PATH_INNDDIR        /usr/lib/news/innd
  583. ##  Unix-domain stream socket that rnews connects to.
  584. #### =()<_PATH_NNTPCONNECT    @<_PATH_NNTPCONNECT>@>()=
  585. _PATH_NNTPCONNECT    /usr/lib/news/innd/nntpin
  586. ##  Unix-domain datagram socket that ctlinnd to.
  587. #### =()<_PATH_NEWSCONTROL    @<_PATH_NEWSCONTROL>@>()=
  588. _PATH_NEWSCONTROL    /usr/lib/news/innd/control
  589. ##  Temporary socket created by ctlinnd; run through mktemp
  590. #### =()<_PATH_TEMPSOCK        @<_PATH_TEMPSOCK>@>()=
  591. _PATH_TEMPSOCK        /usr/lib/news/innd/ctlinndXXXXXX
  592.  
  593.  
  594. ##
  595. ##  11.  LOG AND CONFIG FILES
  596. ##  Shell script that sets most of these as shell vars
  597. #### =()<_PATH_SHELLVARS        @<_PATH_SHELLVARS>@>()=
  598. _PATH_SHELLVARS        /usr/lib/news/innshellvars
  599. ##  Where most config and data files are usually stored; not required
  600. ##  to the home directory of NEWSUSER.
  601. #### =()<_PATH_NEWSLIB        @<_PATH_NEWSLIB>@>()=
  602. _PATH_NEWSLIB        /usr/lib/news
  603. ##  The server's log file.
  604. #### =()<_PATH_LOGFILE        @<_PATH_LOGFILE>@>()=
  605. _PATH_LOGFILE        /usr/lib/news/log
  606. ##  The server's error log file.
  607. #### =()<_PATH_ERRLOG        @<_PATH_ERRLOG>@>()=
  608. _PATH_ERRLOG        /usr/lib/news/errlog
  609. ##  Where most sylog log files go; see also scanlogs, innstat, etc.
  610. #### =()<_PATH_MOST_LOGS    @<_PATH_MOST_LOGS>@>()=
  611. _PATH_MOST_LOGS    /var/log/news
  612. ##  How many generates of log files to keep.
  613. #### =()<LOG_CYCLES    @<LOG_CYCLES>@>()=
  614. LOG_CYCLES    7
  615. ##  Text value of the server's pid.
  616. #### =()<_PATH_SERVERPID        @<_PATH_SERVERPID>@>()=
  617. _PATH_SERVERPID        /usr/lib/news/innd/innd.pid
  618. ##  The newsfeeds file, on the server host.
  619. #### =()<_PATH_NEWSFEEDS    @<_PATH_NEWSFEEDS>@>()=
  620. _PATH_NEWSFEEDS    /usr/lib/news/newsfeeds
  621. ##  The article history database, on the server host.
  622. #### =()<_PATH_HISTORY    @<_PATH_HISTORY>@>()=
  623. _PATH_HISTORY    /usr/lib/news/history
  624. ##  File listing the sites that feed us news.
  625. #### =()<_PATH_INNDHOSTS        @<_PATH_INNDHOSTS>@>()=
  626. _PATH_INNDHOSTS        /usr/lib/news/hosts.nntp
  627. ##  The active file, on the server host.
  628. #### =()<_PATH_ACTIVE    @<_PATH_ACTIVE>@>()=
  629. _PATH_ACTIVE    /usr/lib/news/active
  630. ##  A temporary active file, for writing on the server host.
  631. #### =()<_PATH_NEWACTIVE        @<_PATH_NEWACTIVE>@>()=
  632. _PATH_NEWACTIVE        /usr/lib/news/active.tmp
  633. ##  An old active file on the server host.
  634. #### =()<_PATH_OLDACTIVE        @<_PATH_OLDACTIVE>@>()=
  635. _PATH_OLDACTIVE        /usr/lib/news/active.old
  636. ##  The log of when groups are created.
  637. #### =()<_PATH_ACTIVETIMES    @<_PATH_ACTIVETIMES>@>()=
  638. _PATH_ACTIVETIMES    /usr/lib/news/active.times
  639. ##  Where batch files are located.
  640. #### =()<_PATH_BATCHDIR        @<_PATH_BATCHDIR>@>()=
  641. _PATH_BATCHDIR        /usr/spool/news/out.going
  642. ##  Where archives are kept.
  643. #### =()<_PATH_ARCHIVEDIR    @<_PATH_ARCHIVEDIR>@>()=
  644. _PATH_ARCHIVEDIR    /usr/spool/news/news.archive
  645. ##  Where NNRP distributions file is
  646. #### =()<_PATH_NNRPDIST        @<_PATH_NNRPDIST>@>()=
  647. _PATH_NNRPDIST        /usr/lib/news/distributions
  648. ##  Where the default Distribution assignments file is
  649. #### =()<_PATH_DISTPATS        @<_PATH_DISTPATS>@>()=
  650. _PATH_DISTPATS        /usr/lib/news/distrib.pats
  651. #### =()<_PATH_NEWSGROUPS    @<_PATH_NEWSGROUPS>@>()=
  652. _PATH_NEWSGROUPS    /usr/lib/news/newsgroups
  653. ##  File where client configuration parameters can be read.
  654. #### =()<_PATH_CONFIG    @<_PATH_CONFIG>@>()=
  655. _PATH_CONFIG    /usr/lib/news/inn.conf
  656. ##  The possible active file, on clients (NFS-mounted, e.g.).
  657. #### =()<_PATH_CLIENTACTIVE    @<_PATH_CLIENTACTIVE>@>()=
  658. _PATH_CLIENTACTIVE    /usr/lib/news/active
  659. ##  A temporary file, for client inews to use.
  660. #### =()<_PATH_TEMPACTIVE    @<_PATH_TEMPACTIVE>@>()=
  661. _PATH_TEMPACTIVE    /tmp/activeXXXXXX
  662. ##  Where to mail to the moderators.
  663. #### =()<_PATH_MODERATORS    @<_PATH_MODERATORS>@>()=
  664. _PATH_MODERATORS    /usr/lib/news/moderators
  665. ##  Where NNTP puts the name of the server.
  666. #### =()<_PATH_SERVER    @<_PATH_SERVER>@>()=
  667. _PATH_SERVER    /usr/lib/news/server
  668. ##  File with name/password for all remote connections.
  669. #### =()<_PATH_NNTPPASS        @<_PATH_NNTPPASS>@>()=
  670. _PATH_NNTPPASS        /usr/lib/news/passwd.nntp
  671. ##  NNRP access file.
  672. #### =()<_PATH_NNRPACCESS        @<_PATH_NNRPACCESS>@>()=
  673. _PATH_NNRPACCESS        /usr/lib/news/nnrp.access
  674. ##  Default expire control file.
  675. #### =()<_PATH_EXPIRECTL        @<_PATH_EXPIRECTL>@>()=
  676. _PATH_EXPIRECTL        /usr/lib/news/expire.ctl
  677. ##  Prolog to parse control scripts
  678. #### =()<_PATH_PARSECTL        @<_PATH_PARSECTL>@>()=
  679. _PATH_PARSECTL        /usr/lib/news/parsecontrol
  680. ##  Access control file for control scripts.
  681. #### =()<_PATH_CONTROLCTL        @<_PATH_CONTROLCTL>@>()=
  682. _PATH_CONTROLCTL        /usr/lib/news/control.ctl
  683. ##  Innwatch control file.
  684. #### =()<_PATH_CTLWATCH            @<_PATH_CTLWATCH>@>()=
  685. _PATH_CTLWATCH            /usr/lib/news/innwatch.ctl
  686. ##  Where innwatch writes its own pid.
  687. #### =()<_PATH_WATCHPID        @<_PATH_WATCHPID>@>()=
  688. _PATH_WATCHPID        /usr/lib/news/innwatch.pid
  689. ##  Where innwatch writes status when it gets an interrupt
  690. #### =()<_PATH_INNWSTATUS        @<_PATH_INNWSTATUS>@>()=
  691. _PATH_INNWSTATUS        /usr/lib/news/innwatch.status
  692. ##  Format of news overview database
  693. #### =()<_PATH_SCHEMA        @<_PATH_SCHEMA>@>()=
  694. _PATH_SCHEMA        /usr/lib/news/overview.fmt
  695.  
  696.  
  697. ##
  698. ##  12.  INNWATCH CONFIGURATION
  699. ##  Load average (* 100) at which innd should be paused.
  700. #### =()<INNWATCH_PAUSELOAD    @<INNWATCH_PAUSELOAD>@>()=
  701. INNWATCH_PAUSELOAD    1500
  702. ##  Load average (* 100) at which innd should be throttled.
  703. #### =()<INNWATCH_HILOAD    @<INNWATCH_HILOAD>@>()=
  704. INNWATCH_HILOAD    2000
  705. ##  Load average (* 100) at which to restart innd (pause/throttle undone).
  706. #### =()<INNWATCH_LOLOAD    @<INNWATCH_LOLOAD>@>()=
  707. INNWATCH_LOLOAD    1000
  708. ##  Space, in df output units, at which to throttle innd on _PATH_SPOOL.
  709. #### =()<INNWATCH_SPOOLSPACE    @<INNWATCH_SPOOLSPACE>@>()=
  710. INNWATCH_SPOOLSPACE    8000
  711. ##  Space, in df output units, at which to throttle innd on _PATH_BATCHDIR.
  712. #### =()<INNWATCH_BATCHSPACE    @<INNWATCH_BATCHSPACE>@>()=
  713. INNWATCH_BATCHSPACE    800
  714. ##  Space, in df output units, at which to throttle innd on _PATH_NEWSLIB.
  715. #### =()<INNWATCH_LIBSPACE    @<INNWATCH_LIBSPACE>@>()=
  716. INNWATCH_LIBSPACE    25000
  717. ##  Number of inodes at which to throttle innd on _PATH_SPOOL.
  718. #### =()<INNWATCH_SPOOLNODES    @<INNWATCH_SPOOLNODES>@>()=
  719. INNWATCH_SPOOLNODES    200
  720. ##  How long to sleep between innwatch iterations.
  721. #### =()<INNWATCH_SLEEPTIME    @<INNWATCH_SLEEPTIME>@>()=
  722. INNWATCH_SLEEPTIME    600
  723.